package com.applet.applet_shangcheng.entity;

import org.apache.commons.lang3.StringUtils;

import java.util.Date;
import java.util.List;

//商品表
public class Goods {

    private int  id;
    private int  goodsId;
    private String   goodsName;
    private String  image;
    private int  price;
    private int  connection;
    private String images;
    private List<String> imagess;
    private String  goodsIntroduce;
    private String   goodsDetails;
    private Date  createTime;
    private Date  updateTime;
    private int  integral;
    private int  remit;
    private int  saleNum;
    private int  status;
    private int social;
    private int students;
    private int soldier;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getConnection() {
        return connection;
    }

    public void setConnection(int connection) {
        this.connection = connection;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public List<String> getImagess() {
        return imagess;
    }

    public void setImagess(List<String> imagess) {
        this.imagess = imagess;
    }

    public String getGoodsIntroduce() {
        return goodsIntroduce;
    }

    public void setGoodsIntroduce(String goodsIntroduce) {
        this.goodsIntroduce = goodsIntroduce;
    }

    public String getGoodsDetails() {
        return goodsDetails;
    }

    public void setGoodsDetails(String goodsDetails) {
        this.goodsDetails = goodsDetails;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public int getRemit() {
        return remit;
    }

    public void setRemit(int remit) {
        this.remit = remit;
    }

    public int getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(int saleNum) {
        this.saleNum = saleNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSocial() {
        return social;
    }

    public void setSocial(int social) {
        this.social = social;
    }

    public int getStudents() {
        return students;
    }

    public void setStudents(int students) {
        this.students = students;
    }

    public int getSoldier() {
        return soldier;
    }

    public void setSoldier(int soldier) {
        this.soldier = soldier;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", image='" + image + '\'' +
                ", price=" + price +
                ", connection=" + connection +
                ", images='" + images + '\'' +
                ", imagess=" + imagess +
                ", goodsIntroduce='" + goodsIntroduce + '\'' +
                ", goodsDetails='" + goodsDetails + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", integral=" + integral +
                ", remit=" + remit +
                ", saleNum=" + saleNum +
                ", status=" + status +
                ", social=" + social +
                ", students=" + students +
                ", soldier=" + soldier +
                '}';
    }
}
